package com.qimou.iems.service;

import com.qimou.iems.entity.Company;
import com.qimou.iems.entity.Department;
import com.qimou.iems.entity.PageArgs;
import com.qimou.iems.entity.PageList;

import java.util.List;
import java.util.Map;

/**
 * @author Qimou Xie
 * @date 2018/3/17 17:24.
 **/
public interface IDepartmentService {



    void save(Department department);


    void update(Department department);


    PageList<Department> getDepartmentList(PageArgs pageArgs, Map<String,Object> map);


    List<Department> getDepartmentByCompany(Integer companyId);



}
